package com.changgou;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 系统启动类
 */
@SpringBootApplication
@EnableEurekaClient //eureka客户端
@EnableFeignClients(basePackages={"com.changgou.goods.feign"}) //开启feign的调用:指定调用的feign接口的位置
public class PageApplication {
    public static void main(String[] args) {
        SpringApplication.run(PageApplication.class, args);
    }
}
